package com.dnui.seven2.service;

import com.dnui.seven2.entity.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author fengy
 * @description 针对表【announcement】的数据库操作Service
 * @createDate 2022-10-16 10:08:34
 */
public interface AnnouncementService extends IService<Announcement> {

    List<Announcement> queryAnnouncements(Integer currentPageNum, Integer everyPage);
    Announcement queryById(Integer announcementId);
    void saveAnnouncement(Announcement announcement);
    void deleteAnnouncement(Integer announcementId);
    void updateAnnouncement(Announcement announcement);
}
